<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>店铺管理</title>
    <!-- Bootstrap 3.3.5 -->
    <link href="http://cdn.52shangou.com/bootstrap/1.0.2/build/3.3.5/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="../../src/c/font-awesome-4.4.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="../../src/c/ionicons-2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../../src/c/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="../../src/c/dist/css/skins/_all-skins.min.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link href="http://cdn.52shangou.com/dataTables/1.0.0/build/dataTables.bootstrap.min.css" rel="stylesheet">
    <link href="http://cdn.52shangou.com/bootstrap-select/1.0.0/build/css/bootstrap-select.min.css" rel="stylesheet">
    <link href="http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/css/bootstrapValidator.min.css"
          rel="stylesheet">
    <link href="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/css/bootstrap-datetimepicker.min.css"
          rel="stylesheet">
    <link href="http://imgdaily01.52shangou.com/css/jquery.fileupload-ui.css" rel="stylesheet">
    <link href="http://imgdaily01.52shangou.com/css/jquery.fileupload.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../../build/c/base/index.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <header class="main-header">
        <!-- Logo -->
        <a href="../home/index.html" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b>C</b>RM</span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>闪电购</b>CRM</span>
        </a>

        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">导航</span>
            </a>
            <!-- Navbar Right Menu -->
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">


                </ul>
            </div>
        </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar" id="main-sidebar">
    </aside>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                店铺管理
            </h1>
        </section>

        <!-- Main content -->
        <section class="content">
            <!-- Info boxes -->
            <div class="panel panel-default">
                <div class="panel-body">
                    <form class="navbar-form navbar-left" role="form" action="javascript:doSearch();" method="post"
                          id="J_Search">
                        <div class="form-group">
                            <label for="shop_id" class="col-xs-4 control-label">店铺ID</label>

                            <div class="col-xs-8 ">
                                <input type="text" id="shop_id" name="shop_id" class="form-control" placeholder="店铺ID">
                            </div>

                            <!--
                            <select id="search_type" class="selectpicker">
                                <option value="id" >店铺ID</option>
                                <option value="name" >店铺名称</option>
                            </select>
                            <input type="text" id="shop_name" class="form-control" placeholder="店铺ID">
                            -->
                        </div>
                        <div class="form-group">
                            <label for="shop_xiaoer_mobile" class="col-xs-4 control-label">小二手机</label>

                            <div class="col-xs-8">
                                <input type="text" id="shop_xiaoer_mobile" name="shop_xiaoer_mobile"
                                       class="form-control" placeholder="小二手机号码">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="shop_owner_mobile" class="col-xs-4 control-label">店主手机</label>

                            <div class="col-xs-8">
                                <input type="text" id="shop_owner_mobile" name="shop_owner_mobile"
                                       class="form-control" placeholder="店主手机号码">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="shop_name" class="col-xs-4 control-label">店铺名称</label>

                            <div class="col-xs-8">
                                <input type="text" id="shop_name" name="shop_name" class="form-control"
                                       placeholder="店铺名称">
                            </div>
                        </div>
                        <button type="button" id="search_btn" class="btn btn-default">查 询</button>
                    </form>
                </div>
            </div>
            <div class="panel panel-default">
                <div class="panel-body">
                    <table class="table" id="shop_table" style="min-height: 200px;">
                        <thead>
                        <tr>
                            <th>店铺ID</th>
                            <th>店铺名称</th>
                            <th>所属城市</th>
                            <th>店铺所有者</th>
                            <th>当前管理小二</th>
                            <th>店铺状态</th>
                            <th>店铺类型</th>
                            <th>结算类型</th>
                            <th>经营范围</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <footer class="main-footer">

    </footer>

    <!-- Control Sidebar -->


    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>

</div>
<!-- ./wrapper -->

<!--店铺店主更换编辑框 -->
<div class="modal fade bs-example-modal-lg" tabindex="-1" id="shop_edit_dialog" aria-labelledby="msg_dialog_title"
     role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="shop_edit_dialog_title">
                    店铺店主更换
                </h4>
            </div>
            <div class="modal-body" id="shop_edit_dialog_content">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <form class="form-horizontal" role="form" id="change_form"
                              action="javascript:changeShopOwner();" method="post">
                            <div class="form-group">
                                <label for="shopId" class="col-sm-2 control-label">店铺ID</label>

                                <div class="col-sm-10">
                                    <input type="text" id="shopId" name="shopId" class="form-control" placeholder="店铺ID"
                                           readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ownerName" class="col-sm-2 control-label">店主名字</label>

                                <div class="col-sm-10">
                                    <input type="text" id="ownerName" name="ownerName" class="form-control"
                                           placeholder="店主名字" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ownerSocialId" class="col-sm-2 control-label">店主身份证(*)</label>

                                <div class="col-sm-10">
                                    <input type="text" id="ownerSocialId" name="ownerSocialId" class="form-control"
                                           placeholder="店主身份证" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="userMobile" class="col-sm-2 control-label">店主电话(*)</label>

                                <div class="col-sm-10">
                                    <input type="text" id="userMobile" name="userMobile" class="form-control"
                                           placeholder="店主电话" readonly="readonly">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="newOwnerName" class="col-sm-2 control-label">新店主名字(*)</label>

                                <div class="col-sm-10">
                                    <input type="text" id="newOwnerName" name="newOwnerName" class="form-control"
                                           placeholder="新店主名字">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="newOwnerSocialId" class="col-sm-2 control-label">新店主身份证(*)</label>

                                <div class="col-sm-10">
                                    <input type="text" id="newOwnerSocialId" name="newOwnerSocialId"
                                           class="form-control" placeholder="新店主身份证">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="newUserMobile" class="col-sm-2 control-label">新店主电话(*)</label>

                                <div class="col-sm-10">
                                    <input type="text" id="newUserMobile" name="newUserMobile" class="form-control"
                                           placeholder="新店主电话">
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" id="changeShopOwner" class="btn btn-primary">保 存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关 闭</button>
            </div>
        </div>
    </div>
</div>

<!--店铺投放信息编辑框 -->
<div class="modal fade bs-example-modal-lg" tabindex="-1" id="shop_sale_dialog" aria-labelledby="shop_sale_dialog_title"
     role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="shop_sale_dialog_title">
                    店铺投放信息
                </h4>
            </div>
            <div class="modal-body">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <form class="form-horizontal" role="form" id="sale_form" action="javascript:void(0);"
                              method="post">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片1</label>

                                <div class="col-sm-10">
                                    <img id="sale_pic_img_1" src="" alt="图片1" class="img-thumbnail"
                                         style="width: 460px;height: 100px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="sale_pic_file_1" type="file" name="sale_pic_file_1" multiple="">
                                        </span>
                                    <button type="button" class="btn btn-danger" onclick="javascript:$('#sale_pic_img_1').attr('src','')">删除图片</button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片1链接</label>

                                <div class="col-sm-10">
                                    <input type="text" id="sale_pic_url_1" name="sale_pic_url_1" class="form-control"
                                           placeholder="图片1链接">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片2</label>

                                <div class="col-sm-10">
                                    <img id="sale_pic_img_2" src="" alt="图片2" class="img-thumbnail"
                                         style="width: 460px;height: 100px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="sale_pic_file_2" type="file" name="sale_pic_file_2" multiple="">
                                        </span>
                                    <button type="button" class="btn btn-danger" onclick="javascript:$('#sale_pic_img_2').attr('src','')">删除图片</button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片2链接</label>

                                <div class="col-sm-10">
                                    <input type="text" id="sale_pic_url_2" name="sale_pic_url_2" class="form-control"
                                           placeholder="图片2链接">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片3</label>

                                <div class="col-sm-10">
                                    <img id="sale_pic_img_3" src="" alt="图片3" class="img-thumbnail"
                                         style="width: 460px;height: 100px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="sale_pic_file_3" type="file" name="sale_pic_file_3" multiple="">
                                        </span>
                                    <button type="button" class="btn btn-danger" onclick="javascript:$('#sale_pic_img_3').attr('src','')">删除图片</button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片3链接</label>

                                <div class="col-sm-10">
                                    <input type="text" id="sale_pic_url_3" name="sale_pic_url_3" class="form-control"
                                           placeholder="图片3链接">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片4</label>

                                <div class="col-sm-10">
                                    <img id="sale_pic_img_4" src="" alt="图片4" class="img-thumbnail"
                                         style="width: 460px;height: 100px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="sale_pic_file_4" type="file" name="sale_pic_file_4" multiple="">
                                        </span>
                                        <button type="button" class="btn btn-danger" onclick="javascript:$('#sale_pic_img_4').attr('src','')">删除图片</button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片4链接</label>

                                <div class="col-sm-10">
                                    <input type="text" id="sale_pic_url_4" name="sale_pic_url_4" class="form-control"
                                           placeholder="图片4链接">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片5</label>

                                <div class="col-sm-10">
                                    <img id="sale_pic_img_5" src="" alt="图片5" class="img-thumbnail"
                                         style="width: 460px;height: 100px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="sale_pic_file_5" type="file" name="sale_pic_file_5" multiple="">
                                        </span>
                                    <button type="button" class="btn btn-danger" onclick="javascript:$('#sale_pic_img_5').attr('src','')">删除图片</button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片5链接</label>

                                <div class="col-sm-10">
                                    <input type="text" id="sale_pic_url_5" name="sale_pic_url_5" class="form-control"
                                           placeholder="图片5链接">
                                </div>
                            </div>
                            <input type="hidden" id="sale_shop_id" name="sale_shop_id">
                        </form>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" id="shopSale" class="btn btn-primary">保 存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关 闭</button>
            </div>
        </div>
    </div>
</div>

<!--店铺修改编辑框 -->
<div class="modal fade bs-example-modal-lg" tabindex="-1" id="shop_modify_dialog" aria-labelledby="msg_dialog_title"
     role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">
                    店铺信息
                </h4>
            </div>
            <div class="modal-body">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <form class="form-horizontal" role="form" id="modify_form" action="javascript:void(0);"
                              method="post">
                            <fieldset>
                                <legend>基本信息</legend>
                                <div class="form-group">
                                    <label for="modify_shopId" class="col-sm-2 control-label">店铺ID</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_shopId" name="modify_shopId" class="form-control"
                                               placeholder="店铺ID" readonly="readonly">
                                    </div>
                                    <label for="modify_shopName" class="col-sm-2 control-label">店铺名称</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_shopName" name="modify_shopName"
                                               class="form-control" placeholder="店铺名称">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_shopType" class="col-sm-2 control-label">店铺类型</label>

                                    <div class="col-sm-2">
                                        <select id="modify_shopType" name="modify_shopType" class="form-control" disabled="disabled"></select>
                                    </div>
                                    <label for="modify_isBalance" class="col-sm-2 control-label">结算类型</label>

                                    <div class="col-sm-2">
                                        <select id="modify_isBalance" name="modify_isBalance" class="form-control" disabled="disabled">
                                            <option value="0">不结算</option>
                                            <option value="1">结算</option>
                                        </select>
                                    </div>
                                    <label for="modify_tags" class="col-sm-2 control-label">经营范围</label>

                                    <div class="col-sm-2">
                                        <select id="modify_tags" name="modify_tags" class="form-control"></select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_dayStartTime" class="col-sm-2 control-label">开业时间</label>

                                    <div class="col-sm-4">
                                        <div class="input-group date form_time" data-date="" data-date-format="hh:ii:00"
                                             data-link-field="modify_dayStartTime" data-link-format="hh:ii:00">
                                            <input class="form-control" id="modify_dayStartTime_view" size="32"
                                                   type="text" value="" readonly>
                                            <span class="input-group-addon"><span
                                                    class="glyphicon glyphicon-time"></span></span>
                                        </div>
                                        <input type="hidden" id="modify_dayStartTime" name="modify_dayStartTime"
                                               class="form-control" placeholder="开业时间">
                                    </div>
                                    <label for="modify_dayEndTime" class="col-sm-2 control-label">打烊时间</label>

                                    <div class="col-sm-4">
                                        <div class="input-group date form_time" data-date="" data-date-format="hh:ii:00"
                                             data-link-field="modify_dayEndTime" data-link-format="hh:ii:00">
                                            <input class="form-control" id="modify_dayEndTime_view" size="32"
                                                   type="text" value="" readonly>
                                            <span class="input-group-addon"><span
                                                    class="glyphicon glyphicon-time"></span></span>
                                        </div>
                                        <input type="hidden" id="modify_dayEndTime" name="modify_dayEndTime"
                                               class="form-control" placeholder="打烊时间">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_createXiaoer" class="col-sm-2 control-label">店铺开户小二</label>

                                    <div class="col-sm-10">
                                        <input type="text" id="modify_createXiaoer" name="modify_createXiaoer"
                                               class="form-control" placeholder="店铺开户小二" readonly>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_xiaoer" class="col-sm-2 control-label">当前管理小二</label>

                                    <div class="col-sm-10">
                                        <input type="text" id="modify_xiaoer" name="modify_xiaoer" class="form-control"
                                               placeholder="输入小二手机号自动搜索" data-provide="typeahead" readonly>
                                        <input type="hidden" id="modify_xiaoerId" name="modify_xiaoerId"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_shopWeight" class="col-sm-2 control-label">店铺排序值</label>

                                    <div class="col-sm-10">
                                        <input type="text" id="modify_shopWeight" name="modify_shopWeight"
                                               class="form-control" placeholder="店铺排序值" >
                                    </div>
                                </div>
                                <div class="form-group" id="form_shopFranchise">
                                        <label for="modify_shopFranchiseDesc" class="col-sm-2 control-label">加盟类型</label>
                                        <div class="col-sm-10">
                                            <select id="modify_shopFranchiseDesc" name="modify_shopFranchiseDesc" class="form-control">
                                            </select>
                                        </div>
                                </div>
                            </fieldset>
                            <fieldset>
                                <legend>配送信息</legend>
                                <div class="form-group">
                                    <label for="modify_city" class="col-sm-2 control-label">所属城市</label>

                                    <div class="col-sm-2">
                                        <select id="modify_city" name="modify_city" class="form-control"
                                                disabled></select>
                                    </div>
                                    <label for="modify_address" class="col-sm-2 control-label">店铺地址</label>

                                    <div class="col-sm-6">
                                        <input type="text" id="modify_address" name="modify_address"
                                               class="form-control" placeholder="店铺地址">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_deliveryAreaRadius"
                                           class="col-sm-2 control-label">店铺最远配送距离</label>

                                    <div class="col-sm-4">
                                        <select id="modify_deliveryAreaRadius" name="modify_deliveryAreaRadius"
                                                class="form-control">
                                            <option value="0">0m</option>
                                            <option value="50">50m</option>
                                            <option value="100" selected="">100m</option>
                                            <option value="150">150m</option>
                                            <option value="200">200m</option>
                                            <option value="300">300m</option>
                                            <option value="500">500m</option>
                                            <option value="1000">1.0km</option>
                                            <option value="1500">1.5km</option>
                                            <option value="2000">2.0km</option>
                                            <option value="2500">2.5km</option>
                                            <option value="3000">3.0km</option>
                                            <option value="3500">3.5km</option>
                                            <option value="4000">4.0km</option>
                                            <option value="4500">4.5km</option>
                                            <option value="5000">5.0km</option>
                                        </select>
                                    </div>
                                    <label for="modify_leastSendAmount" class="col-sm-2 control-label">店铺起送金额(元)</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_leastSendAmount" name="modify_leastSendAmount"
                                               class="form-control" placeholder="店铺起送金额">
                                    </div>


                                </div>
                                <div class="form-group">
                                    <label for="modify_onlinePayOnly" class="col-sm-2 control-label">支付方式</label>

                                    <div class="col-sm-10">
                                        <select id="modify_onlinePayOnly" name="modify_onlinePayOnly"
                                                class="form-control">
                                            <!--<option value="0">支持线上支付和货到付款</option>-->
                                            <option value="1">仅支持线上支付</option>
                                        </select>
                                    </div>
                                </div>
                            </fieldset>
                            <fieldset>
                                <legend>店主信息</legend>
                                <div class="form-group">
                                    <label for="modify_ownername" class="col-sm-2 control-label">姓名</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_ownername" name="modify_ownername"
                                               class="form-control" placeholder="姓名" readonly>
                                        <input type="hidden" id="modify_userId" name="modify_userId" value="">
                                    </div>
                                    <label for="modify_ownerSocialId" class="col-sm-2 control-label">身份证号</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_ownerSocialId" name="modify_ownerSocialId"
                                               class="form-control" placeholder="身份证号">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">身份证正面</label>

                                    <div class="col-sm-4">
                                        <img id="modify_socialImage" src="" alt="身份证正面" class="img-thumbnail"
                                             style="width: 260px;height: 140px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="modify_socialImage_file" type="file"
                                                   name="modify_socialImage_file" multiple="">
                                        </span>
                                    </div>
                                    <label class="col-sm-2 control-label">身份证背面</label>

                                    <div class="col-sm-4">
                                        <img id="modify_socialImageBack" src="" alt="身份证背面" class="img-thumbnail"
                                             style="width: 260px;height: 140px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="modify_socialImageBack_file" type="file"
                                                   name="modify_socialImageBack_file" multiple="">
                                        </span>
                                    </div>
                                </div>
                            </fieldset>
                            <fieldset id="card_field">
                                <legend>工商银行账户信息</legend>
                                <div class="form-group">
                                    <label for="modify_cardName" class="col-sm-2 control-label">户名</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_cardName" name="modify_cardName"
                                               class="form-control" readonly="readonly" placeholder="户名">
                                    </div>
                                    <label for="modify_cardNum" class="col-sm-2 control-label">卡号/账号</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_cardNum" name="modify_cardNum"
                                               class="form-control" readonly="readonly" placeholder="卡号/账号">
                                    </div>
                                </div>
                                <div class="form-group" id="cardPic_div">
                                    <label class="col-sm-2 control-label">照片</label>

                                    <div class="col-sm-10">
                                        <img id="cardPic" src="" alt="照片" class="img-thumbnail"
                                             style="width: 400px;height: 400px;">

                                    </div>
                                </div>
                            </fieldset>
                            <fieldset id="zhifubao_field">
                                <legend>支付宝账户信息</legend>
                                <div class="form-group">
                                    <label for="zhifubao_cardName" class="col-sm-2 control-label">户名</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="zhifubao_cardName" name="zhifubao_cardName"
                                               class="form-control" readonly="readonly" placeholder="户名">
                                    </div>
                                    <label for="zhifubao_cardNum" class="col-sm-2 control-label">卡号/账号</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="zhifubao_cardNum" name="modify_cardNum"
                                               class="form-control" readonly="readonly" placeholder="卡号/账号">
                                    </div>
                                </div>
                            </fieldset>
                            <fieldset>
                                <legend>工商营业信息</legend>
                                <div class="form-group">
                                    <label for="modify_legalPerson" class="col-sm-2 control-label">法人</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_legalPerson" name="modify_legalPerson"
                                               class="form-control" placeholder="法人">
                                        <input type="hidden" id="modify_id" name="modify_id">
                                    </div>
                                    <label for="modify_busiLicenceNo" class="col-sm-2 control-label">证件号码</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_busiLicenceNo" name="modify_busiLicenceNo"
                                               class="form-control" placeholder="证件号码">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_expDate" class="col-sm-2 control-label">证件有效期</label>

                                    <div class="col-sm-10">
                                        <div class="input-group date form_date" data-date=""
                                             data-date-format="yyyy-mm-dd" data-link-field="modify_expDate"
                                             data-link-format="yyyy-mm-dd">
                                            <input id="modify_expDate_view" class="form-control" type="text" value=""
                                                   readonly placeholder="证件有效期">
                                            <span class="input-group-addon"><span
                                                    class="glyphicon glyphicon-calendar"></span></span>
                                        </div>
                                        <input type="hidden" id="modify_expDate" name="modify_expDate"
                                               class="form-control">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">营业执照</label>

                                    <div class="col-sm-10">
                                        <img id="img" src="" alt="营业执照" class="img-thumbnail"
                                             style="width: 100%;height: 200px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="img_file" type="file" name="img_file" multiple="">
                                        </span>
                                    </div>
                                </div>
                            </fieldset>
                            <fieldset>
                                <legend>食品流通信息</legend>
                                <div class="form-group">
                                    <label for="modify_legalPerson_sp" class="col-sm-2 control-label">法人</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_legalPerson_sp" name="modify_legalPerson_sp"
                                               class="form-control" placeholder="法人">
                                        <input type="hidden" id="modify_id_sp" name="modify_id_sp">
                                    </div>
                                    <label for="modify_busiLicenceNo_sp" class="col-sm-2 control-label">证件号码</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_busiLicenceNo_sp" name="modify_busiLicenceNo_sp"
                                               class="form-control" placeholder="证件号码">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_expDate_sp" class="col-sm-2 control-label">证件有效期</label>

                                    <div class="col-sm-10">
                                        <div class="input-group date form_date" data-date=""
                                             data-date-format="yyyy-mm-dd" data-link-field="modify_expDate_sp"
                                             data-link-format="yyyy-mm-dd">
                                            <input id="modify_expDate_sp_view" class="form-control" type="text" value=""
                                                   readonly placeholder="证件有效期">
                                            <span class="input-group-addon"><span
                                                    class="glyphicon glyphicon-calendar"></span></span>
                                        </div>
                                        <input type="hidden" id="modify_expDate_sp" name="modify_expDate_sp"
                                               class="form-control">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">食品流通许可证</label>

                                    <div class="col-sm-10">
                                        <img id="img_sp" src="" alt="食品流通许可证" class="img-thumbnail"
                                             style="width: 100%;height: 200px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="img_sp_file" type="file" name="img_sp_file" multiple="">
                                        </span>
                                    </div>
                                </div>
                            </fieldset>
                            <fieldset>
                                <legend>卫生许可信息</legend>
                                <div class="form-group">
                                    <label for="modify_legalPerson_ws" class="col-sm-2 control-label">法人</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_legalPerson_ws" name="modify_legalPerson_ws"
                                               class="form-control" placeholder="法人">
                                        <input type="hidden" id="modify_id_ws" name="modify_id_ws">
                                    </div>
                                    <label for="modify_busiLicenceNo_ws" class="col-sm-2 control-label">证件号码</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_busiLicenceNo_ws" name="modify_busiLicenceNo_ws"
                                               class="form-control" placeholder="证件号码">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_expDate_ws" class="col-sm-2 control-label">证件有效期</label>

                                    <div class="col-sm-10">
                                        <div class="input-group date form_date" data-date=""
                                             data-date-format="yyyy-mm-dd" data-link-field="modify_expDate_ws"
                                             data-link-format="yyyy-mm-dd">
                                            <input id="modify_expDate_ws_view" class="form-control" type="text" value=""
                                                   readonly placeholder="证件有效期">
                                            <span class="input-group-addon"><span
                                                    class="glyphicon glyphicon-calendar"></span></span>
                                        </div>
                                        <input type="hidden" id="modify_expDate_ws" name="modify_expDate_ws"
                                               class="form-control">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">卫生许可证</label>

                                    <div class="col-sm-10">
                                        <img id="img_ws" src="" alt="卫生许可信息" class="img-thumbnail"
                                             style="width: 100%;height: 200px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="img_ws_file" type="file" name="img_ws_file" multiple="">
                                        </span>
                                    </div>
                                </div>
                            </fieldset>
                            <fieldset id="fieldset_yc">
                                <legend>烟草许可信息</legend>
                                <div class="form-group">
                                    <label for="modify_legalPerson_yc" class="col-sm-2 control-label">法人</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_legalPerson_yc" name="modify_legalPerson_yc"
                                               class="form-control" placeholder="法人">
                                        <input type="hidden" id="modify_id_yc" name="modify_id_yc">
                                    </div>
                                    <label for="modify_busiLicenceNo_yc" class="col-sm-2 control-label">证件号码</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_busiLicenceNo_yc" name="modify_busiLicenceNo_yc"
                                               class="form-control" placeholder="证件号码">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_expDate_yc" class="col-sm-2 control-label">证件有效期</label>

                                    <div class="col-sm-10">
                                        <div class="input-group date form_date" data-date=""
                                             data-date-format="yyyy-mm-dd" data-link-field="modify_expDate_yc"
                                             data-link-format="yyyy-mm-dd">
                                            <input id="modify_expDate_yc_view" class="form-control" type="text" value=""
                                                   readonly placeholder="证件有效期">
                                            <span class="input-group-addon"><span
                                                    class="glyphicon glyphicon-calendar"></span></span>
                                        </div>
                                        <input type="hidden" id="modify_expDate_yc" name="modify_expDate_yc"
                                               class="form-control">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">烟草许可证</label>

                                    <div class="col-sm-10">
                                        <img id="img_yc" src="" alt="烟草许可证" class="img-thumbnail"
                                             style="width: 100%;height: 200px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="img_yc_file" type="file" name="img_yc_file" multiple="">
                                        </span>
                                    </div>
                                </div>
                            </fieldset>
                            <fieldset id="fieldset_jl">
                                <legend>酒类许可信息</legend>
                                <div class="form-group">
                                    <label for="modify_legalPerson_jl" class="col-sm-2 control-label">法人</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_legalPerson_jl" name="modify_legalPerson_jl"
                                               class="form-control" placeholder="法人">
                                        <input type="hidden" id="modify_id_jl" name="modify_id_jl">
                                    </div>
                                    <label for="modify_busiLicenceNo_jl" class="col-sm-2 control-label">证件号码</label>

                                    <div class="col-sm-4">
                                        <input type="text" id="modify_busiLicenceNo_jl" name="modify_busiLicenceNo_jl"
                                               class="form-control" placeholder="证件号码">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="modify_expDate_jl" class="col-sm-2 control-label">证件有效期</label>

                                    <div class="col-sm-10">
                                        <div class="input-group date form_date" data-date=""
                                             data-date-format="yyyy-mm-dd" data-link-field="modify_expDate_jl"
                                             data-link-format="yyyy-mm-dd">
                                            <input id="modify_expDate_jl_view" class="form-control" type="text" value=""
                                                   readonly placeholder="证件有效期">
                                            <span class="input-group-addon"><span
                                                    class="glyphicon glyphicon-calendar"></span></span>
                                        </div>
                                        <input type="hidden" id="modify_expDate_jl" name="modify_expDate_jl"
                                               class="form-control">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">酒类许可证</label>

                                    <div class="col-sm-10">
                                        <img id="img_jl" src="" alt="酒类许可证" class="img-thumbnail"
                                             style="width: 100%;height: 200px;">
                                        <span class="btn btn-success fileinput-button">
                                            <i class="glyphicon glyphicon-plus"></i>
                                            <span>选择附件</span>
                                            <!-- The file input field used as target for the file upload widget -->
                                            <input id="img_jl_file" type="file" name="img_jl_file" multiple="">
                                        </span>
                                    </div>
                                </div>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" id="modifyShop" class="btn btn-primary">提交修改并提交审核</button>
            <button type="button" id="push_modify" class="btn btn-success">提交修改</button>
            <button type="button" id="push_audit" class="btn btn-warning">提交审核</button>
            <button type="button" id="pass" class="btn btn-success">审核通过</button>
            <button type="button" id="not_pass" class="btn btn-warning">审核不通过</button>
            <button type="button" class="btn btn-default" data-dismiss="modal">关 闭</button>
        </div>
    </div>
</div>
</div>


<!--提示框 -->
<div class="modal fade bs-example-modal-sm" tabindex="-1" id="msg_dialog" aria-labelledby="msg_dialog_title"
     role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="msg_dialog_title">
                    提示信息
                </h4>
            </div>

            <div class="modal-body" id="msg_dialog_content">
                在这里添加一些文本
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关 闭</button>
            </div>
        </div>
    </div>
</div>
<!--确认框 -->
<div class="modal fade bs-example-modal-sm" tabindex="-1" id="confirm_dialog" aria-labelledby="confirm_dialog_title"
     role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="confirm_dialog_title">
                    操作确认
                </h4>
            </div>
            <div class="modal-body" id="confirm_dialog_content"></div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="comfirm">确 定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关 闭</button>
            </div>
        </div>
    </div>
</div>
<!--loadmask -->
<div class="modal fade bs-example-modal-sm" tabindex="-1" id="loadmask_dialog" aria-labelledby="loadmask_dialog_title"
     role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-body" id="loadmask_dialog_body">
                数据加载中……
            </div>
        </div>
    </div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="http://cdn.52shangou.com/jquery/1.0.0/build/jquery-1.11.3.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="http://cdn.52shangou.com/dataTables/1.0.0/build/jquery.dataTables.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap/1.0.2/build/3.3.5/bootstrap.min.js"></script>
<script src="http://cdn.52shangou.com/dataTables/1.0.0/build/dataTables.bootstrap.min.js"></script>
<script src="http://cdn.52shangou.com/jquery.cookie/1.0.0/build/jquery.cookie.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-select/1.0.0/build/js/bootstrap-select.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/js/bootstrapValidator.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/js/bootstrap-datetimepicker.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-typeahead/1.0.2/build/bootstrap-typeahead.min.js"></script>
<script type="text/javascript" src="http://imgdaily01.52shangou.com/js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="http://imgdaily01.52shangou.com/js/jquery.iframe-transport.js"></script>
<script type="text/javascript" src="http://imgdaily01.52shangou.com/js/jquery.fileupload.js"></script>

<!-- AdminLTE App -->
<script src="../../src/c/dist/js/app.min.js"></script>

<!-- main -->
<script type="text/javascript" src="http://cdn.52shangou.com/lib/1.0.1/build/lib/require.js?t=1440237721"></script>
<script type="text/javascript">
    require.config({
        urlArgs: 't=' + (new Date()).getTime(),
        baseUrl: '../../build',
        paths: {
            'juicer': 'http://cdn.52shangou.com/lib/1.0.4/build/lib/juicer-amd'
        }
    });
    require(['p/shop/config/index']);
</script>
</body>
</html>